import { defineStore } from 'pinia'
import { reactive } from 'vue'


export const useMenus = defineStore('menus', () => {
  const menus = reactive<Record<string, any>>({})
  const updateMenu = (key: string, value: any) => {
    menus[key] = value
  }
  return {
    menus,
    updateMenu
  }
})